home *** CD-ROM | disk | FTP | other *** search
/ Geek Games #12 / GEGA012.iso / Jogos de Azar / 3card_poker.swf / scripts / DefineSprite_166 / frame_16 / DoAction.as
Text File  |  2006-01-17  |  2KB  |  103 lines

  1. set("_level0/:creditsPlayed","0");
  2. set("_level0/:creditsPlayedan","0");
  3. set("_level0/:creditsPlayedpp","0");
  4. set("_level0/:creditsPlayedpl","0");
  5. set("_level0/:fold","0");
  6. removeMovieClip("_level0/cr1");
  7. removeMovieClip("_level0/dr1");
  8. set("_level0/:betMover","1");
  9. set("_level0/:dealplay","1");
  10. set("_level0/:BoDeal","0");
  11. set("../:creditsPlayed","0");
  12. set("../:OnMax","0");
  13. set("../:Total",eval("../:Credits"));
  14. WinnerLevel = "0";
  15. AnteLevel = "0";
  16. AnteLevel2 = "0";
  17. dpair = "0";
  18. push = "0";
  19. ppair = "0";
  20. youwon = "";
  21. youwonpp = "";
  22. youwonpl = "";
  23. youwonan = "";
  24. done3 = "0";
  25. done4 = "0";
  26. done5 = "0";
  27. whatdealhand = "";
  28. whatplayerhand = "";
  29. set("../:hsdplay","0");
  30. tellTarget("_level0/betonme")
  31. {
  32.    gotoAndStop(1);
  33. }
  34. tellTarget("_level0/b-hit")
  35. {
  36.    gotoAndStop(2);
  37. }
  38. tellTarget("_level0/b-stand")
  39. {
  40.    gotoAndStop(2);
  41. }
  42. tellTarget("_level0/b-deal")
  43. {
  44.    gotoAndStop(2);
  45. }
  46. tellTarget("typeplay")
  47. {
  48.    gotoAndStop(1);
  49. }
  50. tellTarget("typedeal")
  51. {
  52.    gotoAndStop(1);
  53. }
  54. gotoAndStop(1);
  55. set("_level0/:chipRow","0");
  56. set("_level0/:tochipRow","0");
  57. qd2 = eval("_level0/:qd");
  58. while(qd2 >= "2")
  59. {
  60.    removeMovieClip("_level0/cr" add qd2);
  61.    removeMovieClip("_level0/dr" add qd2);
  62.    removeMovieClip("_level0/er" add qd2);
  63.    removeMovieClip("_level0/fr" add qd2);
  64.    removeMovieClip("_level0/gr" add qd2);
  65.    qd2 -= "2";
  66. }
  67. setProperty("_level0/cr1", _Y, "452.5");
  68. setProperty("_level0/cr1", _X, "245.1");
  69. setProperty("_level0/dr1", _Y, "452.5");
  70. setProperty("_level0/dr1", _X, "286.1");
  71. setProperty("_level0/er1", _Y, "452.5");
  72. setProperty("_level0/er1", _X, "328.1");
  73. setProperty("_level0/fr1", _Y, "452.5");
  74. setProperty("_level0/fr1", _X, "370.1");
  75. setProperty("_level0/gr1", _Y, "452.5");
  76. setProperty("_level0/gr1", _X, "410.1");
  77. tellTarget("_level0/cr1")
  78. {
  79.    gotoAndStop(1);
  80. }
  81. tellTarget("_level0/dr1")
  82. {
  83.    gotoAndStop(1);
  84. }
  85. tellTarget("_level0/er1")
  86. {
  87.    gotoAndStop(1);
  88. }
  89. tellTarget("_level0/fr1")
  90. {
  91.    gotoAndStop(1);
  92. }
  93. tellTarget("_level0/gr1")
  94. {
  95.    gotoAndStop(1);
  96. }
  97. set("_level0/:qd","1");
  98. set("_level0/:j","1");
  99. set("_level0/:k","1");
  100. set("_level0/:l","1");
  101. set("_level0/:m","1");
  102. set("_level0/:n","1");
  103.